import request from '@/utils/request'
const group_name = 'user'
const api_name = 'user'
export default {
    login(mobile, password) {
        return request({
            url: `/${group_name}/${api_name}/login`,
            method: 'post',
            data: {
                mobile,
                password
            }
        })
    },
    logout() {
        return request({
            url: `/${group_name}/${api_name}/logout`,
            method: 'post'
        })
    }
}
